package com.alibaba.dubbo.demo.bean;



/**
 * SysDeptinfo entity. @author MyEclipse Persistence Tools
 */

public class SysDeptInfo  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer deptid;
     private String deptname;
     private Integer upperid;
     private String manager;
     private String phone;
     private String remark;
     private Integer isvalid;
     private Integer childnum;
     private Integer deptlevel;


    // Constructors

    /** default constructor */
    public SysDeptInfo() {
    }

	/** minimal constructor */
    public SysDeptInfo(String deptname, Integer upperid) {
        this.deptname = deptname;
        this.upperid = upperid;
    }
    
    /** full constructor */
    public SysDeptInfo(String deptname, Integer upperid, String manager, String phone, String remark, Integer isvalid, Integer childnum, Integer deptlevel) {
        this.deptname = deptname;
        this.upperid = upperid;
        this.manager = manager;
        this.phone = phone;
        this.remark = remark;
        this.isvalid = isvalid;
        this.childnum = childnum;
        this.deptlevel = deptlevel;
    }

   
    // Property accessors

    public Integer getDeptid() {
        return this.deptid;
    }
    
    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getDeptname() {
        return this.deptname;
    }
    
    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public Integer getUpperid() {
        return this.upperid;
    }
    
    public void setUpperid(Integer upperid) {
        this.upperid = upperid;
    }

    public String getManager() {
        return this.manager;
    }
    
    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsvalid() {
        return this.isvalid;
    }
    
    public void setIsvalid(Integer isvalid) {
        this.isvalid = isvalid;
    }

    public Integer getChildnum() {
        return this.childnum;
    }
    
    public void setChildnum(Integer childnum) {
        this.childnum = childnum;
    }

    public Integer getDeptlevel() {
        return this.deptlevel;
    }
    
    public void setDeptlevel(Integer deptlevel) {
        this.deptlevel = deptlevel;
    }
   








}